Average sentence length |
---|
9.2536 |
sentence length | percentage |
---|---|
2 | 0.4487 |
3 | 3.0773 |
4 | 6.3150 |
5 | 9.2503 |
6 | 11.0680 |
7 | 11.0833 |
8 | 10.2943 |
9 | 9.1193 |
10 | 7.7560 |
11 | 6.4043 |
12 | 5.2707 |
13 | 4.3183 |
14 | 3.3673 |
15 | 2.7217 |
16 | 2.1907 |
17 | 1.7207 |
18 | 1.3660 |
19 | 1.0923 |
20 | 0.8267 |
21 | 0.6497 |
22 | 0.4750 |
23 | 0.3777 |
24 | 0.2587 |
25 | 0.1827 |
26 | 0.1123 |
27 | 0.0920 |
28 | 0.0520 |
29 | 0.0353 |
30 | 0.0280 |
31 | 0.0183 |
32 | 0.0107 |
33 | 0.0070 |
34 | 0.0037 |
35 | 0.0023 |
36 | 0.0007 |
37 | 0.0013 |
38 | 0.0010 |
39 | 0.0007 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters